<?php
require_once 'function.php';
?>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        
    </head>
    <body>
<?php
    require_once 'function.php';
    $query='SELECT * FROM courses';
    $data=query($query);
    var_dump($data)
?>
    </body>
</html>
